#include "sqlConnection.h"

QSqlDatabase sqlConnection::startConnection(){
    QSqlDatabase db = QSqlDatabase::addDatabase("QPSQL");
    db.setHostName("localhost");
    db.setDatabaseName("postgres");
    db.setUserName("_postgresql");
    db.setPassword("fcfm");
    db.setPort(5432);

    return db;
}
